﻿/* ==============================================================================
* 功能描述：SysMsgHandler
* 创 建 者：青金石
* 创建日期：2020/5/24 10:12:20
* ==============================================================================*/

using TCPServer.script.net;

public class SysMsgHandler
{
}

public partial class MsgHandler
{
    public static void MsgPing(ClientState state, MsgBase msgBase)
    {
        System.Console.WriteLine("MsgPing");
        state.lastPingTime = NetManager.GetTimeStamp();
        MsgPong pong = new MsgPong();
        NetManager.Send(state, pong);
    }
}